<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        .title{
            width: 1200px;
            height: 50px;
            border: 1px solid red;
            margin: 0 auto;
        }
        .title-left{
            float: left;
            width: 100px;
            height: 100%;
            box-sizing: border-box;
            border: 1px solid #333;
        }
        .title-right{
            float: right;
            width: 800px;
            height: 100%;
            border: 1px solid #333;
            box-sizing: border-box;
        }
        .title-right>ul{
            width: 100%;
            height: 100%;
            list-style: none;
        }
        .title-right>ul>li{
            float: left;
            height: 100%;
            margin-right: 50px;
            margin-left: 10px;
        }
        .title-right>ul>li>a{
            display: block;
            height: 100%;
            color: #333;
            line-height: 50px;
            box-sizing: border-box;
            text-decoration: none;
        }
        .title-right>ul>li>a:hover{
            border-bottom: 3px solid green;
        }

    </style>
</head>
<body>
    <div class="title">
        <div class="title-left"></div>
        <div class="title-right">
            <ul>
                <li><a href="">标题一</a></li>
                <li><a href="">标题二</a></li>
                <li><a href="">标题三</a></li>
                <li><a href="">标题四</a></li>
                <li><a href="">标题五</a></li>
            </ul>
        </div>
    </div>






</body>
</html>